﻿@model ElectronicDiary.Models.Parent.GradesViewModel
@using System.Data;
@{
    ViewBag.Title = "Oceny";
}

<h2>Rodzic</h2>

<fieldset>
    <legend>Oceny - @Model.Student</legend>

    <table>
        <thead>
            <tr>
                @Html.DisplayFor(x => x.Columns)
            </tr>
        </thead>
        <tbody>
            @Html.DisplayFor(x => x.Rows)
        </tbody>
    </table>
</fieldset>

<div>
    @Html.ActionLink("Powrót do listy", "Panel")
</div>
